package com.yima.baseproj.module.app.equipmentEquipment.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.*;

import lombok.extern.slf4j.Slf4j;

@Slf4j
@Data
public class EquipmentEquipmentAddParamModel {

    @ApiModelProperty(value = "用户表openid")
    private String userOpenid;

    @NotBlank(message = "设备名称不能为空")
    @ApiModelProperty(value = "设备名称")
    private String name;

    @ApiModelProperty(value = "设备标签")
    private String tag;

    @ApiModelProperty(value = "场景 Guid")
    private String sceneguid;

    @NotBlank(message = "设备来源不能为空")
    @ApiModelProperty(value = "设备来源")
    private String source;

    @NotBlank(message = "设备序列号不能为空")
    @ApiModelProperty(value = "设备序列号")
    private String deviceno;

    @ApiModelProperty(value = "扩展字段（uface 设备（recType 设备的识别方式, 默认为 1）")
    private String addition;

    @ApiModelProperty(value = "是否绑定默认场景（场景 Guid 为空此字段生效）")
    private String binddefaultscene;

    @ApiModelProperty(value = "是否清空设备数据，默认为false")
    private String forceemptydevice;

    @ApiModelProperty(value = "当forceEmptyDevice为true，传入设备密码")
    private String password;
    @ApiModelProperty(value = "状态 1在线  2离线")
    private int status;

}